﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.DeviceEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2018/5/14 16:45:52
    /// </summary> 
    [Serializable]
    [ModelMap("V_VehicleFlow", new string[] { "Id" })]
    public class BllVehicleflowInfo : BaseEntity
    {
        public BllVehicleflowInfo()
        {

        }
        
        
        private int _roadid;
        /// <summary>
        /// 车道id
        /// </summary>
        [ColumnMap("RoadId", System.Data.DbType.Int32)]
        public int RoadId
        {
            get {return _roadid;}
            set
            {
                if (object.Equals(this._roadid, value) != true)
                {
                    this._roadid = value;
                    this.RaisePropertyChanged("RoadId");
                }
            }
        }
        
        
        private int _meterid;
        /// <summary>
        /// 仪表id
        /// </summary>
        [ColumnMap("MeterId", System.Data.DbType.Int32)]
        public int MeterId
        {
            get {return _meterid;}
            set
            {
                if (object.Equals(this._meterid, value) != true)
                {
                    this._meterid = value;
                    this.RaisePropertyChanged("MeterId");
                }
            }
        }

        private string _roadName;
        /// <summary>
        /// 车道名称
        /// </summary>
        [ColumnMap("RoadName", System.Data.DbType.String)]
        public string RoadName
        {
            get { return _roadName; }
            set
            {
                if (object.Equals(this._roadName, value) != true)
                {
                    this._roadName = value;
                    this.RaisePropertyChanged("RoadName");
                }
            }
        }
        
        private string _metercode;
        /// <summary>
        /// 仪表编号
        /// </summary>
        [ColumnMap("MeterCode", System.Data.DbType.String)]
        public string MeterCode
        {
            get {return _metercode;}
            set
            {
                if (object.Equals(this._metercode, value) != true)
                {
                    this._metercode = value;
                    this.RaisePropertyChanged("MeterCode");
                }
            }
        }
        
        
        private int _weight;
        /// <summary>
        /// 总重
        /// </summary>
        [ColumnMap("Weight", System.Data.DbType.Int32)]
        public int Weight
        {
            get {return _weight;}
            set
            {
                if (object.Equals(this._weight, value) != true)
                {
                    this._weight = value;
                    this.RaisePropertyChanged("Weight");
                }
            }
        }
        
        
        private int _speed;
        /// <summary>
        /// 车速
        /// </summary>
        [ColumnMap("Speed", System.Data.DbType.Int32)]
        public int Speed
        {
            get {return _speed;}
            set
            {
                if (object.Equals(this._speed, value) != true)
                {
                    this._speed = value;
                    this.RaisePropertyChanged("Speed");
                }
            }
        }
        
        
        private int _numb;
        /// <summary>
        /// 轴数
        /// </summary>
        [ColumnMap("Numb", System.Data.DbType.Int32)]
        public int Numb
        {
            get {return _numb;}
            set
            {
                if (object.Equals(this._numb, value) != true)
                {
                    this._numb = value;
                    this.RaisePropertyChanged("Numb");
                }
            }
        }
        
        
        private int _gnumb;
        /// <summary>
        /// 轴组数
        /// </summary>
        [ColumnMap("GNumb", System.Data.DbType.Int32)]
        public int GNumb
        {
            get {return _gnumb;}
            set
            {
                if (object.Equals(this._gnumb, value) != true)
                {
                    this._gnumb = value;
                    this.RaisePropertyChanged("GNumb");
                }
            }
        }
        
        
        private DateTime _reporttime;
        /// <summary>
        /// 上报时间
        /// </summary>
        [ColumnMap("ReportTime", System.Data.DbType.DateTime)]
        public DateTime ReportTime
        {
            get {return _reporttime;}
            set
            {
                if (object.Equals(this._reporttime, value) != true)
                {
                    this._reporttime = value;
                    this.RaisePropertyChanged("ReportTime");
                }
            }
        }
        
        
        private string _axial;
        /// <summary>
        /// 轴型及轴组重数组
        /// </summary>
        [ColumnMap("Axial", System.Data.DbType.String)]
        public string Axial
        {
            get {return _axial;}
            set
            {
                if (object.Equals(this._axial, value) != true)
                {
                    this._axial = value;
                    this.RaisePropertyChanged("Axial");
                }
            }
        }
        
        
    }
}



